package cn.qs.qatool

class CheckItem {
    String name
    ItemType type
    CheckList checkList

    BigDecimal lowLimit //数字型下限
    BigDecimal maxLimit //数字型上限
    Unit unit

    LinkedList<Option> options  //单选或者多选值
    String description

    int point   //

    BigDecimal rightAnswer  //数值型值的正确值
    Set<Option> rightChoice //选择型答案
    String textAnswer       //文本类型输入值的正确答案

    //auto filled fields
    Date dateCreated
    Date lastUpdated
    User creator
    User lastUpdater

    static constraints = {
    }
}
